<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<link href="images/skin.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
	<LINK href="Admin_Poli.files/Admin_css.css" type=text/css
		rel=stylesheet>
	<SCRIPT language=JavaScript>
		function goback(){
			window.location = "chengshu/permissionuser.action";
		}
         function openn(){
          var args = openn.arguments;
          if(args[0] == 0) return;
          location.href=(args[0]);
          }
          </SCRIPT>

	<SCRIPT language=javascript src="Admin_Poli.files/Admin.js"></SCRIPT>

	<META content="MSHTML 6.00.2900.5880" name=GENERATOR>
	<body>

		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" valign="top" background="images/mail_leftbg.gif">
					<img src="images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									权限管理界面
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top" background="images/mail_rightbg.gif">
					<img src="images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9">

					<TABLE cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1
						border=0>
						<TBODY>
							<TD noWrap align=middle bgColor=#ebf2f9 height=30>
								<TABLE cellSpacing=0 width="99%" border=0>
									<TBODY>
										<TR>
											<TD noWrap>
												员工姓名：
												<s:property value="listUser.uname" />
											</TD>
										</TR>
								</TABLE>
							</TD>
							</TR>
						</TBODY>
					</TABLE>
					<TABLE cellSpacing=1 cellPadding=0 width="99%" border=0>
						<TBODY></TBODY>
					</TABLE>
					<form action="chengshu/updateUserRole.action" method="post"">
						<TABLE cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1
							border=0>
							<TR>
								<TD noWrap align=middle height=25 width="80">
									<FONT color=#000><STRONG>角色名称：</STRONG> </FONT>
								</TD>
								<TD noWrap align=left height=24 style="CURSOR: hand"
									onmouseout="this.style.backgroundColor = ''" bgColor=#ebf2f9>
									<select name="role.URole.roleid">
										<s:if test="urole != null">
											<option value="<s:property value="urole.roleid"/>">
												<s:property value="urole.rolename" />
											</option>
										</s:if>
										<s:iterator value="listRole" var="listRole">
											<option value="<s:property value="#listRole.roleid"/>">
												<s:property value="#listRole.rolename" />
											</option>
										</s:iterator>
									</select>
								</TD>
								<td bgColor=#ebf2f9><div style="color:red"><s:fielderror fieldName="updateInformation"/></div></td>
							</TR>
							<TR>
								<TD noWrap align=middle height=25 width="80" colspan="2"
									bgColor=#ebf2f9>
									<input type="hidden" name="name" value="<s:property value="listUser.uname" />">
									<input type="hidden" name="id" value="<s:property value="listUser.uid" />">
									<input type="hidden" name="role.UUser.uid"
										value="<s:property value="listUser.uid"/>">
									<input type="submit" value="&nbsp;修改&nbsp;">&nbsp;&nbsp;<input type="button" value="&nbsp;返回&nbsp;" onclick="goback()">
								</TD>
							</TR>
						</TABLE>
					</form>
				</td>
				<td background="images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9" class="left_txt">

					<img src="images/icon-mail2.gif" width="16" height="11">
					&nbsp;&nbsp;&nbsp;&nbsp;邮箱：liuyongwade@gmail.com
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					组员：刘勇&nbsp;&nbsp;程曙&nbsp;&nbsp;陈皓&nbsp;&nbsp;席晓明&nbsp;&nbsp;刘广云
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版权所有 侵权必究

				</td>
				<td background="images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>


			<tr>
				<td valign="bottom" background="images/mail_leftbg.gif">
					<img src="images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td background="images/buttom_bgs.gif">
					<img src="images/buttom_bgs.gif" width="17" height="17">
				</td>
				<td valign="bottom" background="images/mail_rightbg.gif">
					<img src="images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>

	</body>
</html>
